a11y: Fix handling of LABELLED_BY relation
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 01:27:39 +0000 (21:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 01:27:39 +0000 (21:27 -0400)
commita8baee342c943aa77ad03035e70de5ebd9906ce7
treebd7c884e0fdfde2acda591e8d6c1a635c9bc6e95
parent6a1cb3304b0abf3d20541c48f889c4bbc6fa776f
a11y: Fix handling of LABELLED_BY relation

There were several places where we were confusing
GList and GSList and list->data and list->next, causing
a crash in the accessible name computation for buttons
with mnemonic labels.
gtk/gtkatcontext.c
gtk/gtkwidget.c